import request from '@/utils/request'

// 查询投资计划下发列表
export function listInvestPlanIssue(query) {
  return request({
    url: '/issue/investPlanIssue/list',
    method: 'get',
    params: query
  })
}

// 查询投资计划下发详细
export function getInvestPlanIssue(id) {
  return request({
    url: '/issue/investPlanIssue/' + id,
    method: 'get'
  })
}

// 保存投资计划下发
export function saveInvestPlanIssue(data) {
  return request({
    url: '/issue/investPlanIssue/save',
    method: 'post',
    data: data
  })
}

// 删除投资计划下发
export function delInvestPlanIssue(id) {
  return request({
    url: '/issue/investPlanIssue/' + id,
    method: 'delete'
  })
}

// 导出投资计划下发
export function exportInvestPlanIssue(query) {
  return request({
    url: '/issue/investPlanIssue/export',
    method: 'get',
    params: query
  })
}
